package com.hospital.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hospital.domain.pojo.MedicalRecord;
import com.hospital.domain.utils.Result;

public interface MedicalRecordService extends IService<MedicalRecord> {

    Result record(Integer rId, String result, String info, String advice);
    
    Result queryAllMedicalRecords();

    // 新增：按医生ID查询病历列表
    Result queryMedicalRecordsByDoctor(Integer dId);
}
